export default {
  setProLink (state, proLink) {
    state.proLink = proLink
  },
  setAddProLink (state, addProLink) {
    state.editProInfo.addproLink = addProLink
  },
  setEditorFlag (state, flag) {
    state.editProInfo.editorFlag = flag
  },
  setAuthUser (state, authUser) {
    state.authUser = authUser
  },
  setDownloaderSearchTime (state, timeObj) {
    state.downloaderSearch.time = timeObj.time
    state.downloaderSearch.start_time = timeObj.start_time
    state.downloaderSearch.end_time = timeObj.end_time
  },
  setProInfo (state, proInfo) {
    state.proInfo = proInfo
  }
}
